<div class="lang">
<form method="POST" name="frmlan">
<select name="lan" style="width:80px" onChange="frmlan.submit();">
<?php
$sql="select * from sprache";
$_rd=mysql_query($sql,$_db_link);
if($_rd){
	while($daten = mysql_fetch_array($_rd, MYSQL_ASSOC)){
		if($_Lan== $daten["Key"]){
			echo '<option value="'.$daten["Key"].'" selected="selected">'.$daten["Name"].'</option>';
			}else {
			echo '<option value="'.$daten["Key"].'">'.$daten["Name"].'</option>';
		}
	}
}
?>	
</select>
</form>

</div>	